package net.qhzw.vip.qiyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.qhzw.vip.qiyu.dto.DeliveryManDto;
import net.qhzw.vip.qiyu.entity.DeliveryMan;

import java.util.List;

public interface DeliveryManService extends IService<DeliveryMan> {

    DeliveryMan info(Long id);


    DeliveryMan getByAreaName(String pickupPointName);

    List<DeliveryManDto> selectDeliveryManDto(List<Long> areaIds);


    List<DeliveryMan> queryDetailedAddrByIds(List<Long> ids);


    /**
     * 商户绑定自提点
     * @param deliveryMan
     * @return
     */
    boolean bindMerchants(DeliveryMan deliveryMan);

    List<DeliveryMan> pickupPoint(Integer isVip);

}

